using UnityEngine;
using Yoozoo.Libs;

namespace Gameplay.PVE.TurnBase
{
    public class InstructionComponent : IComponent,ITransmit
    {
        void IClass.OnReset()
        {

        }
        private BattleUnit unit;
        void IComponent.OnInitialize(BattleUnit unit)
        {
            this.unit = unit;
        }

        void IComponent.OnUpdate()
        {
            //unit.gameObject.transform.position = unit.Data.position;
            //unit.gameObject.transform.forward = unit.Data.forward;
        }

        void IComponent.OnBirth()
        {
            //unit.Data.SetPosition(unit.Data.birthPosition);
            //unit.Data.SetForward(unit.Data.birthForward);
        }
        
        void IComponent.OnDead()
        {
            
        }
        
        void ITransmit.OnTransmit(ETransmitType type, BaseTransmitArg arg)
        {
            
        }
    }
}